var userDetailModel = new Starcor.S67.MVC.Model("user_detail");
userDetailModel.query=function(params){
    NBOSS.ajax_v2(params,'/api/statistics/index.php?m=k1_c_3',function(data){
        if (data.code=='0'){
            userDetailModel.data=data;
        }else{
            userDetailModel.data = {};
            window.top.NBOSS.Alert('错误',data.reason);
        }
        userDetailModel.disEvent('query', userDetailModel.data);
    });
};

userDetailModel.query_kh=function(params){
    NBOSS.ajax_v2(params,'/api/statistics/index.php?m=k1_c_4',function(data){
        if (data.code=='0'){
            userDetailModel.data=data;
        }else{
            userDetailModel.data = {};
            window.top.NBOSS.Alert('错误',data.reason);
        }
        userDetailModel.disEvent('query_kh', userDetailModel.data);
    });
};


	